package org.dei.perla.utils.logger;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class SimpleLogger {
	
	static final DateFormat dateFormat = new SimpleDateFormat("dd/mm/yyyy HH:mm:ss");
	
	private SimpleLogger(){
		
	}
	
	public static void log(Class<?> clazz, String message){
		Date date = new Date(System.currentTimeMillis());
		System.out.println("[" + dateFormat.format(date) + "@" + clazz.getSimpleName() + "]"  + message);
	}
	
}
